// Windows/Error.h

#ifndef __WINDOWS_ERROR_H
#define __WINDOWS_ERROR_H


namespace Common {
namespace System {
namespace Error {

bool FormatMessage(DWORD messageID, CString &message);
inline CString FormatMessage(DWORD messageID)
{
  CString message;
  FormatMessage(messageID, message);
  return message;
}

}}
}
#endif
